<template>
  <div class="find">
    <div class="find_header">
      <div class="title">发现</div>
      <div class="ban" @click.stop="find">
        <!--向上的三角-->
        <div class="arrow-up"></div>
        <div class="icon">
          <img src="./img/Circle of friends.png" alt>
        </div>
        <span>朋友圈</span>
        <i class="iconfont icon-you"></i>
      </div>
    </div>
    <div class="find_content">
      <div class="item">
        <ul>
          <li @click.stop="find">
            <div class="icon">
              <img src="./img/shoping.png" alt>
            </div>
            <span>生活商城</span>
            <i class="iconfont icon-you"></i>
          </li>
          <router-link tag="li" to="/store">
            <div class="icon">
              <img src="./img/game store.png" alt>
            </div>
            <span>游戏商城</span>
            <i class="iconfont icon-you"></i>
          </router-link>
        </ul>
      </div>
      <div class="item" @click.stop="find">
        <ul>
          <li>
            <div class="icon">
              <img src="./img/Scan.png" alt>
            </div>
            <span>扫一扫</span>
            <i class="iconfont icon-you"></i>
          </li>
          <li>
            <div class="icon">
              <img src="./img/shake.png" alt>
            </div>
            <span>摇一摇</span>
            <i class="iconfont icon-you"></i>
          </li>
        </ul>
      </div>
      <div class="item" @click.stop="find">
        <ul>
          <li>
            <div class="icon">
              <img src="./img/look.png" alt>
            </div>
            <span>看一看</span>
            <i class="iconfont icon-you"></i>
          </li>
          <li>
            <div class="icon">
              <img src="./img/Search.png" alt>
            </div>
            <span>搜一搜</span>
            <i class="iconfont icon-you"></i>
          </li>
        </ul>
      </div>
      <!-- <div class="item">
        <ul>
          <li>
            <router-link to="/live/operate">
              <div class="icon">
                <img src="./img/look.png" alt>
              </div>
              <span>直播</span>
              <i class="iconfont icon-you"></i>
            </router-link>
          </li>
          <li>
            <router-link to="/live/edit">
              <div class="icon">
                <img src="./img/Search.png" alt>
              </div>
              <span>编辑直播</span>
              <i class="iconfont icon-you"></i>
            </router-link>
          </li>
        </ul>
      </div>-->
      <!-- <div class="item">
        <ul>
          <li>
            <router-link to="/live/lists">
              <div class="icon">
                <img src="./img/Search.png" alt>
              </div>
              <span>热播</span>
              <i class="iconfont icon-you"></i>
            </router-link>
          </li>
        </ul>
      </div>-->
    </div>
    <footer-nav class="footer_nav"/>
  </div>
</template>
<script>
import footerNav from "@/components/footerNav";
import { Toast } from "mint-ui";

export default {
  data() {
    return {};
  },
  components: {
    footerNav
  },
  mounted() {
    this.getData();
  },
  methods: {
    getData() {},
    find() {
      Toast({
        message: "板块建设中，敬请期待",
        duration: 2000
      });
    }
  }
};
</script>
<style lang="stylus" scoped>
.find {
  width: 7.5rem;
  margin: 0 auto;
  font-family: 'PingFang-SC-Medium';
  box-sizing: border-box;
  padding-bottom: 20px;

  .find_header {
    width: 100%;
    height: 2rem;
    background: linear-gradient(90deg, rgba(0, 174, 255, 1), rgba(0, 180, 255, 1), rgba(0, 120, 255, 1));
    padding-top: 0.54rem;
    position: relative;

    .title {
      text-align: center;
      color: #fff;
    }

    .ban {
      width: 7.1rem;
      height: 1.37rem;
      background: #fff;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: -30px;
      border-radius: 15px;

      .icon {
        width: 0.4rem;
        height: 0.4rem;
        margin: 0.48rem 0.36rem 0.39rem 0.3rem;
        float: left;

        img {
          width: 100%;
          height: 100%;
        }
      }

      span {
        margin-top: 0.48rem;
        display: inline-block;
      }

      .iconfont {
        position: absolute;
        right: 0.5rem;
        top: 0.55rem;
        font-size: 20px;
      }

      .arrow-up {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 8px solid #fff;
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }

  .find_content {
    width: 7.1rem;
    margin: 40px auto 65px auto;

    .item {
      margin: 0 auto;
      // height: 2.21rem;
      border-radius: 10px;
      background: #fff;
      margin-bottom: 0.22rem;

      ul {
        overflow: hidden;

        li {
          position: relative;
          width: 6.55rem;
          height: 1.1rem;
          line-height: 1.1rem;
          vertical-align: middle;
          border-bottom: 1px solid #E6E6E6;
          margin: 0 auto;

          .icon {
            width: 0.4rem;
            height: 0.4rem;

            img {
              width: 100%;
              height: 100%;
            }
          }

          span {
            margin: 0.48rem 0 200px;
            position: absolute;
            top: -22px;
            left: 36px;
            color: #000;
          }

          .iconfont {
            position: absolute;
            right: 0.25rem;
            top: 0rem;
            font-size: 20px;
          }
        }

        li:nth-child(2) {
          border: none;
        }
      }
    }
  }
}

.footer_nav {
  position: fixed;
  bottom: 0;
  left: 0;
}
</style>
